gtk: Tweak GTK_ALIGN_BASELINE docs
authorMatthew Leeds <matthew.leeds@endlessm.com>
Thu, 12 Mar 2020 19:36:09 +0000 (12:36 -0700)
committerMatthew Leeds <matthew.leeds@endlessm.com>
Thu, 12 Mar 2020 19:36:09 +0000 (12:36 -0700)
gtk/gtkenums.h
gtk/gtkwidget.c

index d4c3b4de2b140896634ed02e7f929fa7fa398724..8cb42cff20c3b6255deff14c64a3ddafd17ee838 100644 (file)
@@ -51,7 +51,8 @@ G_BEGIN_DECLS
  *     or top
  * @GTK_ALIGN_CENTER: center natural width of widget inside the
  *     allocation
- * @GTK_ALIGN_BASELINE: align the widget according to the baseline
+ * @GTK_ALIGN_BASELINE: align the widget according to the baseline. See
+ *     #GtkWidget
  *
  * Controls how a widget deals with extra space in a single (x or y)
  * dimension.
@@ -66,8 +67,8 @@ G_BEGIN_DECLS
  * Note that in horizontal context @GTK_ALIGN_START and @GTK_ALIGN_END
  * are interpreted relative to text direction.
  *
- * GTK_ALIGN_BASELINE support for it is optional for containers and widgets, and
- * it is only supported for vertical alignment.  When its not supported by
+ * @GTK_ALIGN_BASELINE support is optional for containers and widgets, and
+ * it is only supported for vertical alignment.  When it's not supported by
  * a child or a container it is treated as @GTK_ALIGN_FILL.
  */
 typedef enum
index fe3277fd3ea2f7bf162a8b4ecc2e30558bb591ab..6810fbe44f5312e98a99c50679c410e73149ac1c 100644 (file)
  * or a baseline assigned to it by the grandparent.
  *
  * Baseline alignment support for a widget is also done by the #GtkWidgetClass.measure()
- * virtual function. It allows you to report a both a minimum and natural 
+ * virtual function. It allows you to report both a minimum and natural size.
  *
  * If a widget ends up baseline aligned it will be allocated all the space in the parent
  * as if it was %GTK_ALIGN_FILL, but the selected baseline can be found via gtk_widget_get_allocated_baseline().